// 角色相关的数据模型
const mongoose = require("mongoose");
const baseModel = require("./base");
// 创建数据模型
const userSchema = new mongoose.Schema({
  ...baseModel,
  publisherId: {
    type: String,
    required: true,
  },
  squareName: {
    type: String,
    required: true,
  },
  squareContent: {
    type: String,
    required: true,
  },
  examine: { // 是否审核通过
    type: String
  },
});

module.exports = userSchema;
